'use strict'
const path = require('path')
const { defineConfig } = require('@vue/cli-service')
// module.exports = defineConfig({
//   transpileDependencies: true,
//   lintOnSave: false,
// });
function resolve (dir) {
  return path.join(__dirname, dir)
}
module.exports = defineConfig({
  publicPath: '/',
  outputDir: 'dist',
  assetsDir: 'static',
  lintOnSave: false,
  productionSourceMap: false,
  devServer: {
    host: 'localhost',
    // port: port,
    // open: true,
    // overlay: {
    //   warnings: false,
    //   errors: true
    // },
    client: {
      overlay: false
    },
    proxy: 'http://localhost:3000'

  },
 
  configureWebpack: {
    name: '',
    resolve: {
      alias: {
        '@': resolve('src')
      }
    }
  }
})
